<?php 
import('@.Model.CommonModel');
class UserModel extends CommonModel {
	protected $_validate = array(
		array('repassword','password',"两次密码输入不同",0,"confirm"),
		array('mobilephone','mobile','手机格式不对！',0),
		array('email','email','邮箱格式错误！',0),
		array('qq','qq',"QQ格式错误",0),
		array('bankname','require','开户银行必须！'),
		array('bankadd','require','开户地址必须！'),
		array('bankuser','require','开户用户必须！'),
		array('creditcard','require',"银行帐号必须"),
	);
	protected $_auto = array(
	array("password","md5","UPDATE","function"),
	
	);

}
?>